<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>

	<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
	<script src="jQuery.upload.min.js"></script>
	<link rel="stylesheet" href="upload.css">
<%--	<style>--%>
<%--		html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu{margin:0;padding:0;}--%>

<%--		body{padding:100px;font-size: 14px;}--%>
<%--		h1{font-size: 26px;}--%>
<%--		p{font-size: 14px; margin-top: 10px;}--%>
<%--		pre{background:#eee;border:1px solid #ddd;border-left:4px solid #f60;padding:15px;margin-top: 15px;}--%>
<%--		h2{font-size: 20px;margin-top: 20px;}--%>
<%--		.case{margin-top: 15px;width:800px;}--%>
<%--		td{padding:5px;}--%>
<%--		table{margin-top: 20px;}--%>

<%--	</style>--%>
</head>
<body>
	 <div class="upload" action='${pageContext.request.contextPath}/user/updateAvatar' data-name="avatar" data-file="avatar" data-num='1' id='case'></div>
</body>
<script>
	$(function(){
		$("#case").upload();
	})
</script>
</html>